package com.kingsoft.miot.bridge.controller.req;

import java.util.List;

import org.hibernate.validator.constraints.NotEmpty;

/**
 * 酒店下所有设备请求
 * 
 * @author melody
 *
 */
public class DeviceInfoOfHotelReq {

	@NotEmpty(message="请求页面不能为空。")
	private int page;
	@NotEmpty(message="请求页大小")
	private int size;
	@NotEmpty(message="请求酒店id不能为空")
	private int hotel_id;
	// 设备类型
	@NotEmpty(message="设备类型不能为空")
	private int device_type;
	private List<OrderBy> orders;

	public int getPage() {
		return page;
	}

	public void setPage(int page) {
		this.page = page;
	}

	public int getSize() {
		return size;
	}

	public void setSize(int size) {
		this.size = size;
	}

	public int getHotel_id() {
		return hotel_id;
	}

	public void setHotel_id(int hotel_id) {
		this.hotel_id = hotel_id;
	}

	public int getDevice_type() {
		return device_type;
	}

	public void setDevice_type(int device_type) {
		this.device_type = device_type;
	}

	public List<OrderBy> getOrders() {
		return orders;
	}

	public void setOrders(List<OrderBy> orders) {
		this.orders = orders;
	}

}
